package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.Factor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author:let_free
 * @Date:2024/6/3/16:54
 **/
@Mapper
public interface FactorMapper extends BaseMapper<Factor> {
    //    查询最新的站点对应的因子信息
    List<Factor> latestStationFactors();


    Page<Factor> getList(Page<Factor> page, @Param("startTime") String startTime, @Param("endTime") String endTime);
/**
 * @description
 * @author let_free
 * @date 2024/11/8 14:37
 * @return java.util.List<com.ruoyi.system.domain.Factor>
 */
    List<Factor> getAllList();
}
